// #packager-optimize

(function() {

    var initializeManagerModule = {

        _alreadyRun : false,

        objectsToInitialize : [],

        add : function(obj) {
            this.objectsToInitialize.push(obj);
        },

        run : function() {
            if (this._alreadyRun) return;

            this._alreadyRun = true;

            var i;

            for (i = 0; i < this.objectsToInitialize.length; ++i) {
                this.objectsToInitialize[i].initialize();
            }
        }

    };

    juliet.registerModule('juliet.core', 'initializeManager-0.1', initializeManagerModule);

})();
